<template>
  <div class="detail-bottom-bar">
    <div class="goods-action">
      <div class="custom-service">
        <div>
          <img src="~assets/logo.png" alt="">
        </div>
        <span>客服</span>
      </div>
      <div class="shop-cart">
        <div>
          <img src="~assets/logo.png" alt="">
        </div>
        <span>购物车</span>
      </div>
      <div class="collect">
        <div>
          <img src="~assets/logo.png" alt="">
        </div>
        <span>收藏</span>
      </div>
    </div>
    
    <div class="goods-action-button">
      <button class="cartPush">加入购物车</button>
      <button class="toBuy">立即购买</button>
    </div>

  </div>
</template>

<script>
  export default {
    
  }
</script>

<style scoped>
  .detail-bottom-bar {
    width: 100%;
    height: 59px;
    position: fixed;
    bottom: 0;
    /* background-color: red; */
    display: flex;
  }
  .goods-action {
    flex: 5;
    display: flex;
    text-align: center;
    font-size: 12px;
    /* background-color: green; */
  }
  .goods-action div {
    flex: 1;
    padding-top: 5px;
  }
  .goods-action img {
    width: 24px;
    height: 24px;
    margin-bottom: 3px;
  }
  .goods-action-button {
    flex: 7;
    display: flex;
    padding: 9px 5px;
    /* background-color: yellow; */
  }
  .goods-action-button button {
    flex: 1;
  }
  .cartPush {
    border-width: 0;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    background-color: deeppink;
  }
  .toBuy {
    border-width: 0;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    background-color: salmon;
  }
</style>